<?php

namespace app\admin\model;

use think\Model;

class Franchisee extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'k_shop';

    public function getImgAttr($value)
    {
        return "http://img.huaxiaoujia.com/" . $value;
    }

    public function getUrlAttr($value)
    {
        return "http://www.huaxiaoujia.com/" . $value;
    }

}
